#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "basereader.h"

/**
 * @file mainwindow.h
 * @author  Paweł Hanejko <phanejko@gmail.com>
 * @version 1.0
 *
 * @section LICENSE
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of
 * the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details at
 * http://www.gnu.org/copyleft/gpl.html
 *
 * @section DESCRIPTION
 * Plik nagłówkowy zawiera definicję głównego okna aplikacji
 *
 *
 */



namespace Ui {
    class MainWindow;
}




class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    static const QString basefile;

    QList<Person*>* users;

    void updateUsers();
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_newUser_clicked();

    void on_testUser_clicked();

private:
    Ui::MainWindow *ui;


};

#endif // MAINWINDOW_H
